package com.imy.virtual.client.stub;

import java.util.Locale;

public class VASettings {
  public static final String STUB_DEF_AUTHORITY = "virtual_stub_";
  public static final String ACTION_BADGER_CHANGE = "com.imy.virtual.BADGER_CHANGE";
  public static final String SUPPORT_64_PKG = "imy.virtual.a64support";
  public static final String APK_PATH="apk_path";
  public static final String APK_PACKAGE="apk_package";
  public static String STUB_ACTIVITY = StubActivity.class.getName();
  public static String STUB_DIALOG = StubDialog.class.getName();
  public static String STUB_CP = StubContentProvider.class.getName();
  public static String STUB_JOB = StubJob.class.getName();
  public static String STUB_CP_AUTHORITY = "virtual_stub_";
  public static int STUB_COUNT = 50;
  public static String[] PRIVILEGE_APPS = new String[] {
      "com.google.android.gms"
  };
  public static boolean INTERCEPT_BACK_HOME = true;
  public static boolean ENABLE_INNER_SHORTCUT = false;
  public static final boolean IS_EMULATOR =false;
  public static final boolean ENABLE_NET_HOOK = false;
  public static boolean ENABLE_IO_REDIRECT = true;

  public static String getStubActivityName(int index) {
    return String.format(Locale.ENGLISH, "%s$C%d", STUB_ACTIVITY, index);
  }

  public static String getStubDialogName(int index) {
    return String.format(Locale.ENGLISH, "%s$C%d", STUB_DIALOG, index);
  }

  public static String getStubCP(int index) {
    return String.format(Locale.ENGLISH, "%s$C%d", STUB_CP, index);
  }

  public static String getStubAuthority(int index) {
    return String.format(Locale.ENGLISH, "%s%d", STUB_CP_AUTHORITY, index);
  }

  public static class Wifi {
    public static boolean FAKE_WIFI_STATE = false;
    public static String DEFAULT_BSSID = "66:55:44:33:22:11";
    public static String DEFAULT_MAC = "11:22:33:44:55:66";
    public static String DEFAULT_SSID = "VirtualApp";
    public static String BSSID = DEFAULT_BSSID;
    public static String MAC = DEFAULT_MAC;
    public static String SSID = DEFAULT_SSID;
  }
}
